public class TestInterfaceAdvance {
    public static void main(String[] args) {
        ElectronicDevice tablet = new Tablet("iPad");
        tablet.powerOn();
        tablet.charge();
        tablet.checkStatus(); // 调用默认方法
    }
}
